using System;

namespace HtmlUtilities.UITest
{
    public class Command<T>
    {
        public Command(string commandName, Func<T> function)
        {
            CommandName = commandName;
            GetValue = function;
        }
    
        public string CommandName { get; private set;}
        public Func<T> GetValue { get; private set;}

        public override string ToString()
        {
            return CommandName;
        }
    }
}